package day15;

/**
 * 枚举型
 * @author FX_PC
 */
enum Day {
    MONDAY, TUESDAY, WEDNESDAY,
    THURSDAY, FRIDAY, SATURDAY, SUNDAY
}

public class Test3 {
	
	public static void main(String[] args) {
		
		Day d = Day.MONDAY;
		
		switch (d) {
		case MONDAY:
			System.out.println("周一");
			break;
		case TUESDAY:
			System.out.println("周二");
			break;
		case WEDNESDAY:
			System.out.println("周三");
			break;

		default:
			break;
		} 
		
		 
	}

}
